// Copyright 2010 Alexandre Tristan St-Cyr <tristan.stcyr@gmail.com>

package com.codeplex.loadjava;

class PathHelper {
	public static String getExtension(String filepath) {
        int dotIndex = filepath.lastIndexOf('.');
        if (dotIndex < 0)
        	return "";
        return filepath.substring(dotIndex+1).toLowerCase();
    }
}
